package com.tangsw.springbootdemo.bo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.tangsw.springbootdemo.model.enums.RenewalStatusEnum;
import com.tangsw.springbootdemo.utils.BigDecimal4Deserializer;
import com.tangsw.springbootdemo.utils.BigDecimal4Serializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class TestBO implements Serializable {
    private static final long serialVersionUID = -3791959517663500208L;
    @JsonDeserialize(using = BigDecimal4Deserializer.class)
    @JsonSerialize(using = BigDecimal4Serializer.class)
    private BigDecimal money;

    private List<RenewalStatusEnum> renewalStatusList;
}
